# src/main.py
import tkinter as tk
from src.ui import FitnessUI

def main():
    root = tk.Tk()
    try:
        app = FitnessUI(root)
        root.mainloop()
    except Exception as e:
        print(f"程序出错：{e}")

if __name__ == "__main__":
    main()